Fixes #2 by Converting Numeric Strings to Float Values#3
Fixes #2 by Converting Numeric Strings to Float Values#3CodeWithKyrian merged 1 commit intoCodeWithKyrian:mainfrom
Conversation
|
Fixes #2 by removing type declaration in NumericValue constructor |
|
Hi @dkeetonx , Thanks for identifying this issue! While removing the type declaration would work, I have some reservations about this approach. Removing type declarations reduces type safety, which is something I'd prefer to maintain throughout the codebase. Instead, I'd like to suggest an alternative solution that preserves type safety in the A better approach would be to convert numeric strings to actual numeric types before passing them to the constructor, so something like Would you be willing to update your PR with this approach instead? |
I agree. This a good approach. I just tested it and it looks to be working. |
No description provided.